home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / 422mods.zip / CONAN12.422 < prev    next >
Text File  |  1993-04-12  |  3KB  |  72 lines

  1. 1CONAN12 3- 5Message reply status modification!
  2. Conan #1 @7304
  3. Wednesday, April 7, 1993   4:01 pm [EST]
  4. ┌────────────────────────────────────────────────────────────────────────────┐
  5. │ Mod Name      : CONAN12                 Mod Author: Conan 1@473   ComLink  │
  6. │ Difficulty    : ███▒▒▒▒▒▒▒                                1@7304  IceNet   │
  7. │ WWIV Version  : 4.22                                      1@7300  WWIVWeb  │
  8. │ Mod Date      : 04/07/93                                  1@7307  WWIVNet  │
  9. │ Files Affected: MSGBASE.C                                 1@17325 WWIVLink │ 
  10. │ Description   : Message reply mod!                                         │
  11. └────────────────────────────────────────────────────────────────────────────┘
  12. This is one of the few mods that I figured out myself! And I find this one
  13. quite useful.
  14.  
  15. Backup your source! I take no responsibility whatsoever that this mod
  16. may cause to your system.
  17.  
  18.  
  19. Open up MSGBASE.C
  20.  
  21.  
  22. =       *anony=anony_sender;
  23. =       break;
  24. =     case anony_real_name:
  25. =       real_name=1;
  26. =       *anony=0;
  27. =       break;
  28. =   }
  29. +   prt(5,"Request reply? ");                        /* CONAN12 ADD */
  30. +   if (yn()) {                                      /* CONAN12 ADD */   
  31. +     strcpy(reply,"Reply Requested");               /* CONAN12 ADD */   
  32. +   } else                                           /* CONAN12 ADD */   
  33. +     strcpy(reply,"No Reply Needed");               /* CONAN12 ADD */   
  34. =   outstr(get_string(91));
  35. =   if (fsed) {
  36. =     i5=open(fnx,O_RDONLY | O_BINARY);
  37. =     l1=filelength(i5);
  38. =   } else {
  39. =     l1=0;
  40. =     for (i5=0; i5<curli; i5++) {
  41.     
  42.  
  43. Go down about 30 lines or so and fix up the following....
  44.  
  45. =   if (irt[0]) {
  46. =    sprintf(s,"Regarding: %s",irt);      /* I changed my RE: to Regarding: */
  47. =    addline(b,s,&l1);
  48. =    if (irt_name[0]) {
  49. =       sprintf(s,"Posted By: %s",irt_name);  /* And I changed BY: to Posted By: */
  50. =       addline(b,s,&l1);
  51. +       sprintf(s,"MsgStatus: %s\r\n",reply);        /* CONAN12 ADD */   
  52. +       s[thisuser.screenchars]=0;                   /* CONAN12 ADD */   
  53. +       addline(b,s,&l1);                            /* CONAN12 ADD */   
  54. =     }
  55. =     addline(b,"",&l1);
  56. =   }
  57.     
  58.  
  59. There must be approximately 5,000,210 message reply mods out there...
  60. but now there's 5,000,211!!! I honestly just felt the need to write a mod
  61. or put one together that I actually use! Anyways...if you're having problems
  62. you can call my board at Perfect World BBS (703)255-6606 or E-Mail me on any
  63. of the following networks:
  64.  
  65. 1@473    ComLink
  66. 1@7304   IceNet
  67. 1@7300   WWIVWeb
  68. 1@7307   WWIVNet
  69. 1@17325  WWIVLink
  70.  
  71. 1C7onan
  72.